<li *ngFor="let dir of directories">
    <input type="hidden" value="true" *ngIf="dir.subMenus" />
    <a>
        <i [ngClass]="dir.iconClass"></i>
        <span>{{dir.title}}</span>
        <span *ngIf="dir.notice != null && dir.notice != 0">
                {{dir.notice}}
    </span>
    </a>
    <ul *ngIf="dir.subMenus" [directories]="dir.subMenus" tree-view>

    </ul>
</li>